SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 49033: The connection to Excel fails when you use the LIBNAME engine with INIT= and UDL= options

DetailsAboutRate It
An error is returned when you use a LIBNAME statement to Excel that specifies the INIT= or UDL= option, as follows:
libname db excel init=
'Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=c:\temp\mixedtypes.xlsx;Mode=Read;Extended Properties="Excel 12.0
Xml;IMEX=1;"';

libname db excel init=   
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX;
ERROR: Connect: Only MS Jet Provider are allowed
ERROR: Error in the LIBNAME statement.


libname db excel udl="C:\Documents and Settings\<userid>\My Documents\My Data Sources\excel.udl";

libname db excel udl=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX;
ERROR: Connect: Only MS Jet Provider are allowed
ERROR: Error in the LIBNAME statement.
A fix for this issue is planned for a future software release.

Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to PC FilesMicrosoft® Windows® for x649.3_M19.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.3_M19.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.3_M19.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows Server 2003 Standard Edition9.3_M19.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows Server 2003 for x649.3_M19.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows Server 20089.3_M19.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows Server 2008 for x649.3_M19.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows XP Professional9.3_M19.3_M19.3 TS1M29.4 TS1M0
Windows 7 Enterprise 32 bit9.3_M19.3_M19.3 TS1M29.4 TS1M0
Windows 7 Enterprise x649.3_M19.3_M19.3 TS1M29.4 TS1M0
Windows 7 Home Premium 32 bit9.3_M19.3_M19.3 TS1M29.4 TS1M0
Windows 7 Home Premium x649.3_M19.3_M19.3 TS1M29.4 TS1M0
Windows 7 Professional 32 bit9.3_M19.3_M19.3 TS1M29.4 TS1M0
Windows 7 Professional x649.3_M19.3_M19.3 TS1M29.4 TS1M0
Windows 7 Ultimate 32 bit9.3_M19.3_M19.3 TS1M29.4 TS1M0
Windows 7 Ultimate x649.3_M19.3_M19.3 TS1M29.4 TS1M0
Windows Vista9.3_M19.3_M19.3 TS1M29.4 TS1M0
Windows Vista for x649.3_M19.3_M19.3 TS1M29.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.